package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CourseUpdateDTO extends AdminUpdate {
    @ApiModelProperty("课程ID")
    @NotNull(message = "课程ID不能为空")
    private Long cid;

    @ApiModelProperty("课程名称")
    private String cname;

    @ApiModelProperty("教练ID")
    private Long eid;

    @ApiModelProperty("开始时间")
    private String stime;

    @ApiModelProperty("结束时间")
    private String etime;

    @ApiModelProperty("报名人数")
    private Integer count;

    @ApiModelProperty("课时数")
    private Integer class_hours;

    @ApiModelProperty("原价")
    private Double full_price;
}
